package com.nf.health.app.models;

public class Message {
	private String data_type;
	private String img;
	private String log_content;
	private String log_id;
	private String log_title;
	private String msgid;
	private String post_time;
	private String status;//如果是1表示已读，0表示未读
	private String type;
	private String userid;
    
	public Message(String data_type, String img, String log_content,
			String log_id, String log_title, String msgid, String post_time,
			String status, String type, String userid) {
		super();
		this.data_type = data_type;
		this.img = img;
		this.log_content = log_content;
		this.log_id = log_id;
		this.log_title = log_title;
		this.msgid = msgid;
		this.post_time = post_time;
		this.status = status;
		this.type = type;
		this.userid = userid;
	}

	public String getData_type() {
		return data_type;
	}

	public void setData_type(String data_type) {
		this.data_type = data_type;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public String getLog_content() {
		return log_content;
	}

	public void setLog_content(String log_content) {
		this.log_content = log_content;
	}

	public String getLog_id() {
		return log_id;
	}

	public void setLog_id(String log_id) {
		this.log_id = log_id;
	}

	public String getLog_title() {
		return log_title;
	}

	public void setLog_title(String log_title) {
		this.log_title = log_title;
	}

	public String getMsgid() {
		return msgid;
	}

	public void setMsgid(String msgid) {
		this.msgid = msgid;
	}

	public String getPost_time() {
		return post_time;
	}

	public void setPost_time(String post_time) {
		this.post_time = post_time;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	/**
	 * 0是系统消息 1是问健康消息 2登录异常 3是修改密码4报警数据 5 为自己的报警数据
	 * @return
	 */
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	@Override
	public String toString() {
		return "Message [data_type=" + data_type + ", img=" + img
				+ ", log_content=" + log_content + ", log_id=" + log_id
				+ ", log_title=" + log_title + ", msgid=" + msgid
				+ ", post_time=" + post_time + ", status=" + status + ", type="
				+ type + ", userid=" + userid + "]";
	}

}
